﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace OmniKitsCoreTest
{
    static class UltraLargeTestData
    {
        public static readonly string ZeroToD7FF;
        public static readonly string E000ToFFFF;
        public static readonly string SurrogatePairs;

        static UltraLargeTestData()
        {
            using (var rs = typeof(UltraLargeTestData).Assembly.GetManifestResourceStream("OmniKitsCoreTest.ZeroToD7FF.txt"))
            using (var sr = new StreamReader(rs))
            {
                ZeroToD7FF = sr.ReadToEnd();
            }

            using (var rs = typeof(UltraLargeTestData).Assembly.GetManifestResourceStream("OmniKitsCoreTest.E000ToFFFF.txt"))
            using (var sr = new StreamReader(rs))
            {
                E000ToFFFF = sr.ReadToEnd();
            }

            using (var rs = typeof(UltraLargeTestData).Assembly.GetManifestResourceStream("OmniKitsCoreTest.SurrogatePairs.txt"))
            using (var sr = new StreamReader(rs))
            {
                SurrogatePairs = sr.ReadToEnd();
            }
        }
    }
}
